<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<%@ page import="com.scalar.chiptrack.operations.dataentry.lotcorrection.forms.LotCorrectionForm,
                 com.scalar.chiptrack.utils.ConfigManager,
                 com.scalar.chiptrack.operations.dataentry.lotcorrection.LotCorrection" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>


<chiptrack:checkLogon sourcePage="/lotCorrection.do"/>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>

<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type="text/css" rel="stylesheet"></HEAD>

<script language="javascript">

function submit()
{
	if( document.lotCorrectionsForm.correctionType[0].checked )
	{
        document.lotCorrectionsForm.action="<%=chipTracContext%>/lotCorrection.do?action=processTypes";
	    document.lotCorrectionsForm.submit();
	}
	else if( document.lotCorrectionsForm.correctionType[1].checked )
	{
        document.lotCorrectionsForm.action="<%=chipTracContext%>/lotChange.do?type=location";
	    document.lotCorrectionsForm.submit();
	}
	else if( document.lotCorrectionsForm.correctionType[2].checked )
	{
        document.lotCorrectionsForm.action="<%=chipTracContext%>/lotChange.do?type=product";
	    document.lotCorrectionsForm.submit();
	}

}
</script>

<BODY bgColor="#ffffff" leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">

<%@ include file="/jsp/includes/header.jsp" %>

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>

    <TR>
        <TD width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

        <%@ include file="/jsp/operations/dataentryMenu.jsp" %>

        <TD bgcolor="#ffffff"><IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8/></TD>
        <TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2/></TD>
        <TD valign="top" width="100%">
        <IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0/>
        <BR>
        <html:form name="lotCorrectionsForm" type="com.scalar.chiptrack.operations.dataentry.lotcorrection.forms.LotCorrectionForm" action="/lotCorrection" >
            <TABLE border="0" width="90%" align=center>
                <TR><TD colspan=2 class="NArialW" align="center">Lot Correction</TD></TR>
                <TR><TD colspan=2>&nbsp;</td></tr>
                <TR>
                    <TD colspan=2>&nbsp;
                        <chiptrack:info styleClass="NArialL" />
                        <chiptrack:errors styleClass="NArialL" />
                        <chiptrack:messages type="info" styleClass="NArialL" />
                    </TD>
                </TR>
	            <TR><TD align="right" width="45%"><input type="radio" name="correctionType" value="1" checked></td><td class="NArialL" align="left">Lot Correction</TD></TR>
	            <TR><TD align="right" width="45%"><input type="radio" name="correctionType" value="3"></td><td class="NArialL" align="left">Change Lot Location</TD></TR>
	            <TR><TD align="right" width="45%"><input type="radio" name="correctionType" value="3"></td><td class="NArialL" align="left">Change Lot Product</TD></TR>
	            <TR><TD colspan=2>&nbsp;</TD></TR>
	            <TR>
		            <TD align=center colspan=2>
			            <a href="javascript:submit()"><img border="0" src="<%=chipTracContext%>/jsp/includes/images/submit.gif" width="53" height="17" onmouseover="window.status='Click to Select the Lot Correction';return true" onmouseout="window.status='';return true" title="Click to Select the Lot Correction"></a>
			            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			            <a href="<%=chipTracContext%>/lotCorrection.do"><img border="0" src="<%=chipTracContext%>/jsp/includes/images/cancel.gif" width="53" height="17" onmouseover="window.status='Click to Cancel Changes';return true" onmouseout="window.status='';return true" title="Click here to Cancel Changes"></a>
		            </TD>
                </TR>
            </TABLE>
    </html:form>
    <BR><BR><BR></TD>
    <TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>
<!-- Footer starts here -->
<%@ include file="/jsp/includes/footer.jsp" %>
<!-- footer end here -->
</BODY>
</HTML>
